<template>
  <div class="home">
    <img src="https://images.dog.ceo/breeds/pembroke/n02113023_4373.jpg">
  </div>
</template>

<script setup lang="ts" name="Home">
import { onMounted} from 'vue';
import { useRoute } from 'vue-router';

const router = useRoute();

// onMounted(() => {
//   setTimeout(() => {
//     router.push('/news')
//   }, 3000)
//   })

</script>

<style scoped>
  .home {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
  }
  img {
    height: 200px;
  }
</style>